/*
{
"状态":1,
"名称":"获取-店铺信息",
"作者":"陈国基",
"创建时间":"2018-10-18",
"功能":"获取-店铺信息",
"log": [
	{"date":"06-01" , "dev" :"hzhh" , "content" : ""}
]
}
*/

declare @isEdit char(1)='{isEdit}'
declare @title nvarchar(10)='全部'

if @isEdit='Y'
set @title='请选择'

select '' as entity_code,@title as  entityName
union all
select entity_code,entityName from b_entity